package com.fy.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

// http://localhost/springcloud-service-portal/feign/fallback/goods/list
// 注意，在使用serviceId时，需要使用id替换原来的path配置
// http://localhost/portal/feign/fallback/goods/list
@SpringBootApplication
@EnableZuulProxy
public class ZuulApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZuulApplication.class, args);
    }
}
